package org.zk.entity;





import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-11
 */
public class Study implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer studyId;
    /**
     * 用户外键
     */

    private User user;
    /**
     * 购买时间
     */

    private  String studyBuytime;
    /**
     * 课程外键
     */

    private Course course;
    /**
     * 学习进度
     */
    private Integer studyJindu;
    /**
     * 直播表外键
     */
    private Broadcast broadcast;


    public Broadcast getBroadcast() {
        return broadcast;
    }

    public void setBroadcast(Broadcast broadcast) {
        this.broadcast = broadcast;
    }

    public Integer getStudyId() {
        return studyId;
    }

    public void setStudyId(Integer studyId) {
        this.studyId = studyId;
    }


    public  String getStudyBuytime() {
        return studyBuytime;
    }

    public void setStudyBuytime( String studyBuytime) {
        this.studyBuytime = studyBuytime;
    }

    public Integer getStudyJindu() {
        return studyJindu;
    }

    public void setStudyJindu(Integer studyJindu) {
        this.studyJindu = studyJindu;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "Study{" +
                "studyId=" + studyId +
                ", user=" + user +
                ", studyBuytime='" + studyBuytime + '\'' +
                ", course=" + course +
                ", studyJindu=" + studyJindu +
                '}';
    }
}
